package cn.yhbk.web.modules.manager.Mapper;

import cn.yhbk.web.modules.manager.Pojo.DTO.Comment.TbCommentDto;
import cn.yhbk.web.modules.manager.Pojo.Entity.TbComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Mapper
@Repository
public interface TbCommentMapper extends BaseMapper<TbComment> {

    TbCommentDto queryCommentById(Long id);

    Boolean insertComment(TbComment tbComment);

    Boolean updateCommentById(TbComment tbComment);

    Boolean deleteCommentById(Long id);

}
